package com.caojing.syby.ui.details.viewpagerdetail;

import com.caojing.syby.base.IBaseModel;
import com.caojing.syby.base.IBasePresenter;
import com.caojing.syby.base.IBaseView;
import com.caojing.syby.bean.home.HomeGvBean;
import com.caojing.syby.httputils.HttpUtils;

import java.util.HashMap;

/**
 * Created by CaoJing on 2016/10/8.
 */
public class VpDetailContract {
    public interface Model extends IBaseModel{
        /*下面gridview的数据加载*/
        void getGvBean(HashMap<String,String> params, HttpUtils.HttpCallBack<HomeGvBean> homeGvBeanHttpCallBack);
    }
    public interface View extends IBaseView {
        /*下面gridview的数据加载成功或失败*/
        void onSuccessGetGv(HomeGvBean homeGvBean);
        void onFailGetGv(String msg);
    }
    public interface Presenter extends IBasePresenter {
        /*加载gridview的方法*/
        void initGvData(HashMap<String,String> params);
    }
}
